package com.czkt.service.Impl;

import com.czkt.mapper.UserMapper;
import com.czkt.pojo.SysUser;
import com.czkt.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
    public List<SysUser> getUserList() {
        return userMapper.getUserList();
    }

    @Override
    public int AddUser(SysUser sysUser) {
        return userMapper.AddUser(sysUser);
    }
}
